package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.modules.baseData.entity.Slope;
import com.css.fxfzypg.modules.baseData.queryParams.SlopeQueryParams;
import com.css.fxfzypg.modules.baseData.vo.SlopeVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface SlopeService {
    SlopeVO updateSlope(SlopeVO slopeVO);
    Slope saveSlope(Slope slope);
    JSONObject getAllSlope(SlopeQueryParams queryParams);
    Slope getSlopeById(String id);
    void deleteSlopes(List<String> ids);
    //下载表中内容
    List<Slope>getAll();
    //导入内容
    void importExcel(MultipartFile file) throws IOException;
}
